<script setup lang="ts">
interface IProp {
  title: string
}

defineProps<IProp>()
</script>

<template>
  <section class="i-card">
    <h1 class="text-xl font-bold mb-[20px]">{{ title }}</h1>
    <div>
      <slot />
    </div>
  </section>
</template>

<style lang="scss" scoped>
.i-card {
  margin-bottom: 24px;
}
</style>
